package com.runvp.service.biz.domain;

import com.runvp.common.annotation.Excel;
import com.runvp.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Transient;

/**
 * 消费者对象 biz_customer
 *
 * @author runvp
 * @date 2022-09-15
 */
@ToString
@Getter
@Setter
public class BizCustomer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 消费者openId
     */
    @Excel(name = "消费者openId")
    private String openId;

    /**
     * 消费者微信唯一ID
     */
    @Excel(name = "消费者微信唯一ID")
    private String uniqueId;

    @Transient
    private Long tenantId;
    /**
     * 授权密码
     */
    @Excel(name = "授权密码")
    private String password;

    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String nickName;

    /**
     * 是否完成实名认证
     */
    @Excel(name = "是否完成实名认证")
    private String realAuthStatus;

    /**
     * 真实姓名
     */
    @Excel(name = "真实姓名")
    private String realName;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String idCardNo;

    /**
     * 微信头像
     */
    @Excel(name = "微信头像")
    private String avatar;

    /**
     * 微信ID
     */
    @Excel(name = "微信ID")
    private String weixinId;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phone;

    /**
     * 账户类型
     */
    @Excel(name = "账户类型")
    private String type;

    /**
     * 上级ID
     */
    @Excel(name = "上级ID")
    private Long pid;

    /**
     * 来源
     */
    @Excel(name = "来源")
    private String source;

    /**
     * 用户状态
     */
    @Excel(name = "用户状态")
    private String status;


}
